// @flow
import React, { Component } from 'react'
import JobFile from 'components/JobFile'

type Props = {
  history: Object,
  location: Object
}

class JobFilePage extends Component {
  props: Props
  render () {
    const { history, location } = this.props
    const { rowData } = location.state
    return (<JobFile {...{
      rowData,
      history
    }} />)
  }
}

export default JobFilePage
